package com.chinairi.mall.dao;

import com.chinairi.mall.model.OrderServiceTransportGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gsl
 * @since 2020-10-22
 */
public interface OrderServiceTransportGoodsMapper extends BaseMapper<OrderServiceTransportGoods> {
    /**
     * 根据服务订单id获取订单下的商品信息
     * @param orderId
     * @return
     */
    List<OrderServiceTransportGoods> getOrderServiceTransportGoodsByOrderId(String orderId);

    void deleteByServiceId(String serviceId);

}
